package com.kakarote.hrm.entity.VO;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class RecruitStartPositionExportVO {

    @ApiModelProperty("计划名称")
    @ExcelProperty("计划名称")
    @ColumnWidth(20)
    private String planName;

    @ApiModelProperty("记录编号")
    @ExcelProperty("记录编号")
    @ColumnWidth(15)
    private String recordCode;

    @ApiModelProperty("岗位名称")
    @ExcelProperty("岗位名称")
    @ColumnWidth(25)
    private String positionName;

    @ApiModelProperty("岗位编码")
    @ExcelProperty("岗位编码")
    @ColumnWidth(25)
    private String positionCode;

    @ApiModelProperty("招聘单位")
    @ExcelProperty("招聘单位")
    @ColumnWidth(25)
    private String positionUnit;

    @ApiModelProperty("招聘数量")
    @ExcelProperty("招聘数量")
    @ColumnWidth(15)
    private Integer positionNum;

    @ApiModelProperty("岗位职责")
    @ExcelProperty("岗位职责")
    @ColumnWidth(30)
    private String positionDuty;

    @ApiModelProperty("条件要求")
    @ExcelProperty("条件要求")
    @ColumnWidth(30)
    private String conditionRequire;

    @ApiModelProperty("薪资待遇")
    @ExcelProperty("薪资待遇")
    @ColumnWidth(20)
    private String salary;

    @ApiModelProperty("工作地点")
    @ExcelProperty("工作地点")
    @ColumnWidth(25)
    private String workLocation;

    @ApiModelProperty("联系人")
    @ExcelProperty("联系人")
    @ColumnWidth(15)
    private String contactUser;

    @ApiModelProperty("联系电话")
    @ExcelProperty("联系电话")
    @ColumnWidth(15)
    private String contactPhone;

    @ApiModelProperty("创建时间")
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;

    @ApiModelProperty("创建人姓名")
    @ExcelProperty("创建人")
    @ColumnWidth(15)
    private String createRealName;

    @Override
    public String toString() {
        return "RecruitStartPositionExportVO{" +
                "planName='" + planName + '\'' +
                ", recordCode='" + recordCode + '\'' +
                ", positionName='" + positionName + '\'' +
                ", positionNum=" + positionNum +
                ", positionDuty='" + positionDuty + '\'' +
                ", conditionRequire='" + conditionRequire + '\'' +
                ", salary='" + salary + '\'' +
                ", workLocation='" + workLocation + '\'' +
                ", contactUser='" + contactUser + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", createTime=" + createTime +
                ", createRealName='" + createRealName + '\'' +
                '}';
    }
}
